name = "Defeat the Air Temple"
desc = function(self, who)
	local desc = {}
	desc[#desc+1] = "Quaker, the earth guardian, has asked you to defeat the air temple and bring back their orb as proof."
	if self:isCompleted("air-guardian") then
		desc[#desc+1] = "#LIGHT_GREEN#* You have vanquished Ariel.#WHITE#"
	else
		desc[#desc+1] = "#SLATE#* You must defeat the air guardian!#WHITE#"
	end
	if self:isCompleted("air-orb") then
		desc[#desc+1] = "#LIGHT_GREEN#* You have the Orb of Air.#WHITE#"
	else
		desc[#desc+1] = "#SLATE#* You must obtain the Orb of Air!#WHITE#"
	end
	return table.concat(desc, "\n")
end

on_status_change = function(self, who, status, sub)
	if sub then
		if self:isCompleted("air-guardian") and self:isCompleted("air-orb") then
			who:setQuestStatus(self.id, engine.Quest.COMPLETED)
		end
	end
end
